const WelcomeWord = {

    // 获取图片
    GetPictures () {
        return this.get('/IoT/api/v3/AutomaticExplanation/GetPictures');
    },

    // 获取欢迎词
    GetWelcomeSpeech () {
        return this.get(`/IoT/api/v3/AutomaticExplanation/GetWelcomeSpeech?time=${new Date().getTime()}`);
    },

    // 添加欢迎词
    AddWelcomeSpeech (data) {
        return this.post('/IoT/api/v3/AutomaticExplanation/AddWelcomeSpeech', data);
    },

    // 下发命令
    IssueOrder (data) {
        return this.post('/IoT/api/v3/AutomaticExplanation/IssueOrder', data);
    }
}

export default WelcomeWord;